package org.feifei.quartz.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.text.DateFormat;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatterBuilder;

/**
 * @author forever
 * @Description:
 * @date 2021/12/19 10:45
 */
public class MyJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
//        Object msg = jobExecutionContext.getMergedJobDataMap().get("msg");
//        System.out.println(msg);
//        LocalDateTime now = LocalDateTime.now();
//        System.out.println(now);
    }
}
